Optimal. Leaf size=132 \[ \frac{e (1-\sin (c+d x)) (e \cos (c+d x))^{-m-2} \left (-\frac{(a-b) (1-\sin (c+d x))}{(a+b) (\sin (c+d x)+1)}\right )^{m/2} (a+b \sin (c+d x))^{m+1} \, _2F_1\left (m+1,\frac{m+2}{2};m+2;\frac{2 (a+b \sin (c+d x))}{(a+b) (\sin (c+d x)+1)}\right )}{d (m+1) (a+b)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0654538, antiderivative size = 132, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.037, Rules used = {2698} \[ \frac{e (1-\sin (c+d x)) (e \cos (c+d x))^{-m-2} \left (-\frac{(a-b) (1-\sin (c+d x))}{(a+b) (\sin (c+d x)+1)}\right )^{m/2} (a+b \sin (c+d x))^{m+1} \, _2F_1\left (m+1,\frac{m+2}{2};m+2;\frac{2 (a+b \sin (c+d x))}{(a+b) (\sin (c+d x)+1)}\right )}{d (m+1) (a+b)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2698
Rubi steps
\begin{align*} \int (e \cos (c+d x))^{-1-m} (a+b \sin (c+d x))^m \, dx &=\frac{e (e \cos (c+d x))^{-2-m} \, _2F_1\left (1+m,\frac{2+m}{2};2+m;\frac{2 (a+b \sin (c+d x))}{(a+b) (1+\sin (c+d x))}\right ) (1-\sin (c+d x)) \left (-\frac{(a-b) (1-\sin (c+d x))}{(a+b) (1+\sin (c+d x))}\right )^{m/2} (a+b \sin (c+d x))^{1+m}}{(a+b) d (1+m)}\\ \end{align*}
Mathematica [A] time = 0.371724, size = 132, normalized size = 1. \[ -\frac{e (\sin (c+d x)+1) (e \cos (c+d x))^{-m-2} \left (\frac{(a+b) (\sin (c+d x)+1)}{(a-b) (\sin (c+d x)-1)}\right )^{m/2} (a+b \sin (c+d x))^{m+1} \, _2F_1\left (m+1,\frac{m+2}{2};m+2;-\frac{2 (a+b \sin (c+d x))}{(a-b) (\sin (c+d x)-1)}\right )}{d (m+1) (a-b)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.175, size = 0, normalized size = 0. \begin{align*} \int \left ( e\cos \left ( dx+c \right ) \right ) ^{-1-m} \left ( a+b\sin \left ( dx+c \right ) \right ) ^{m}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (e \cos \left (d x + c\right )\right )^{-m - 1}{\left (b \sin \left (d x + c\right ) + a\right )}^{m}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\left (e \cos \left (d x + c\right )\right )^{-m - 1}{\left (b \sin \left (d x + c\right ) + a\right )}^{m}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (e \cos \left (d x + c\right )\right )^{-m - 1}{\left (b \sin \left (d x + c\right ) + a\right )}^{m}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]